<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <link rel="stylesheet" href="./css/base.css">
  <link rel="stylesheet" href="./css/common.css">
  <link rel="stylesheet" href="./css/category.css">
</head>

<body>
  <div class="layout">
    <!-- 头部 -->
    <div class="s-header">
      <a href="index.html" title="慢慢买"><img src="./images/header_logo.png" alt=""></a>
      <a href="#"><img src="./images/header_app.png" alt=""></a>
    </div>
    <!-- 搜索栏 -->
    <div class="s-search">
      <form action="" class="formy">
        <input type="text" class="sk" placeholder="那我们就来比一比">
        <button class="skb">搜索</button>
      </form>
    </div>
    <!-- 大分类框 -->
    <section class="category">
      <ul class="big-ul clearfix">
        <li class="title-li">
          <a href="#" class="title-a">
            <span>大家电</span>
          </a>
        </li>
        <ul class="clearfix small-ul">
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
        </ul>
      </ul>

    </section>
    <!-- 尾巴上 -->
    <div class="top-footer">
      <ul class="clearfix">
        <li><a href="#">登陆</a></li>
        <li><a href="#">注册</a></li>
        <li><a href="#"><img src="http://www.zuyushop.com/wap/images/top.jpg" alt="">返回顶部</a></li>
      </ul>
    </div>
    <!-- 尾巴下 -->
    <div class="bottom-footer">
      <p><a href="#">慢慢买手机版</a> 慢慢买手机版 -- 掌上比价平台</p>
      <p>m.manmanbuy.com</p>
    </div>
  </div>
  <script type="text/html" id="tmp">
    {{ each result v i}}
    <ul class="big-ul clearfix">
        <li class="title-li">
          <a href="#" class="title-a" data-id = {{ v.titleId }}>
            <span>{{ v.title }}</span>
          </a>
        </li>
        <ul class="clearfix small-ul">
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
          <li><a href="#">电视</a></li>
        </ul>
      </ul>
    {{ /each}}
  </script>
  <script type="text/html" id="tmp-1">
    {{ each result v i}}
    <li><a href="product.html?{{ v.categoryId }}&{{ v.category }}" data-id = {{ v.categoryId }}>{{ v.category }}</a></li>
    {{ /each}}
  </script>
  <script src="./lib/jquery/jquery.min.js"></script>
  <script src="./lib/artTemplate/template-web.js"></script>
  <script src="./js/category.js"></script>
</body>

</html>